<div class="kontent_panel">
    <div class="reg_input">
    <div><h3>Update Informasi Skim</h3></div>

    <table>
        <?php echo form_open_multipart('skim/do_update'); ?>
        <input type="hidden" name ="skim_id" value="<?php echo $skim_info['SKIM_ID']; ?>" />
        <input type="hidden" name ="program_id" value="<?php echo $skim_info['PROGRAM_ID']; ?>" />
        <input type="hidden" name ="program_name" value="<?php echo $skim_info['PROGRAM_NAMA']; ?>" />
        
        <tr>
            <td id="text_" style="width: 200px;">Nama Program*</td>
            <td ><input  type="text" name="program_nama" value="<?php echo $skim_info['PROGRAM_NAMA']; ?>" disabled="disabled"  /></td>
            <td class="eror_td"></td>
        </tr>
        <tr>
            <td id="text_">Kode Skim* </td>
            <td ><input  type="text" name="skim_kode" value="<?php echo $skim_info['SKIM_KODE']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('skim_kode'); ?></td>
        </tr>
        <tr>
            <td id="text_">Nama Skim* </td>
            <td ><input  type="text" name="skim_nama" value="<?php echo $skim_info['SKIM_NAMA']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('skim_nama'); ?></td>
        </tr>
        <tr>
            <td id="text_">Maximal Dana* </td>
            <td ><input  type="text" name="skim_max_dana" value="<?php echo $skim_info['SKIM_MAX_DANA']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('skim_max_dana'); ?></td>
        </tr>
        <tr>
            <td id="text_">Maximal Anggota* </td>
            <td ><input  type="text" name="skim_max_anggota" value="<?php echo $skim_info['SKIM_MAX_ANGGOTA']; ?>" /></td>
            <td class="eror_td"><?php echo form_error('skim_max_anggota'); ?></td>
        </tr>
        <tr>
            <td id="text_">Bidang Penelitian</td>
            <td>
                <?php foreach($list_bidang_pen as $row){ ?>
                    <input type="checkbox" name="<?php echo 'bidang_pen_'.$row['BIDANG_PEN_ID']; ?>" value="<?php echo 'bidang_pen_'.$row['BIDANG_PEN_ID']; ?>" <?php foreach($bid_pen_skim_list as $row1){ if($row1['BIDANG_PEN_ID'] == $row['BIDANG_PEN_ID'])echo 'CHECKED';} ?> /> <?php echo $row['BIDANG_PEN_NAMA']; ?> 
                <?php } ?>
            </td>
        </tr>
        <tr>
            <td>File Panduan</td>
            <td><input style="width: 250px" type="file" name="userfile"/></td>
            <td class="eror_td"></td>
        </tr>
        <tr>
            <td></td>
            <td><input  type="submit" value="Edit"/></td>
            <td class="eror_td"></td>
        </tr>
    <?php form_close() ?>
    </table>
    </div>
</div>